<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
  <fieldset>
    <legend>Forgot your password?</legend>
    <%= devise_error_messages! %>

    <div class="control-group">
      <%= f.label :email, :class => 'control-label' %>
      <div class="controls">
        <%= f.email_field :email, :class => 'email_field' %>
      </div>
    </div>

    <div class="form-actions">
      <%= f.submit 'Send me reset password instructions', :class => 'btn btn-primary' %>
      <%= render "links" %>
    </div>
  </fieldset>
<% end %>
